package com.lianxi

/**
  * Created by adengdeng on 2017/8/5 
  */
object Lx6 {

  /*
    计算字符串中所有字母的Unicode代码的乘积
   */
  def main(args: Array[String]): Unit = {

    var all: Long = 1
    for (i <- "Hello"; from = i.toLong) all *= from
    println(all)
  }
}
